package com.lg.utils.hutool.util;

import cn.hutool.core.util.ObjectUtil;

import java.util.HashMap;

public class ObjectUtilTest {
    public static void main(String[] args) {
        String o1 = "o1";
        String o2 = "o2";
        HashMap<String, Integer> map = new HashMap<>();
        map.put("aa", 11);
        map.put("bb", 22);
        map.put("cc", 33);
        map.put("dd", 44);
        System.out.println(ObjectUtil.contains(map, "aa"));
        System.out.println(ObjectUtil.contains(map, 22));
    }
}
